projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0c0701
)
(close_load_descs) [WINDOWS_NT]: Don't actually do anything.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 26 Apr 1996 19:54:49 +0000
(19:54 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 26 Apr 1996 19:54:49 +0000
(19:54 +0000)
(read_escape): Detect READCHAR reporting eof.
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index f90bdb2ef2daea009c428d313e00e79af8849559..be43d7f2959cf1fdb685d67ed724f597d3e2c90c 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-516,9
+516,11
@@
load_descriptor_unwind (oldlist)
void
close_load_descs ()
{
+#ifndef WINDOWSNT
Lisp_Object tail;
for (tail = load_descriptor_list; !NILP (tail); tail = XCONS (tail)->cdr)
close (XFASTINT (XCONS (tail)->car));
+#endif
}
\f
static int
@@
-1003,6
+1005,9
@@
read_escape (readcharfun)
register int c = READCHAR;
switch (c)
{
+ case -1:
+ error ("End of file");
+
case 'a':
return '\007';
case 'b':